package org.jeecg.modules.monitoring.j_monitoring.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 母线插接箱(管理)
 * @Author: xiaoyq
 * @Date:   2023-01-14
 * @Version: V1.0
 */
@Data
@TableName("m_gl_bus_connector_box")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="母线插接箱", description="母线插接箱(管理)")
public class MGlBusConnectorBox implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id;主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id;主键")
    private java.lang.String id;
	/**节点ID*/
	@Excel(name = "节点ID", width = 15)
    @ApiModelProperty(value = "节点ID")
    private java.lang.String nodeId;
	/**使用状态*/
	@Excel(name = "使用状态", width = 15, dicCode = "j_syzt")
	@Dict(dicCode = "j_syzt")
    @ApiModelProperty(value = "使用状态")
    private java.lang.String usageStatus;

	//@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
	//@Excel(name = "责任人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
	/**责任人*/
	@Excel(name = "责任人", width = 15)
	@ApiModelProperty(value = "责任人")
	private java.lang.String personLiable;

	@ApiModelProperty(value = "责任人id")
	private java.lang.String personLiableId;

	/**是否监测*/
	@Excel(name = "是否监测", width = 15, dicCode = "j_sfjc")
	@Dict(dicCode = "j_sfjc")
    @ApiModelProperty(value = "是否监测")
    private java.lang.String whetherToMonitor;
	/**IP地址*/
	@Excel(name = "IP地址", width = 15)
    @ApiModelProperty(value = "IP地址")
    private java.lang.String ipAddress;
	/**设备地址*/
	@Excel(name = "设备地址", width = 15)
    @ApiModelProperty(value = "设备地址")
    private java.lang.String deviceAddress;
	/**MAC地址*/
	@Excel(name = "MAC地址", width = 15)
    @ApiModelProperty(value = "MAC地址")
    private java.lang.String macAddress;
	/**端口号*/
	@Excel(name = "端口号", width = 15)
    @ApiModelProperty(value = "端口号")
    private java.lang.String snmpPort;
	/**电流策略*/
	@Excel(name = "电流策略", width = 15)
    @ApiModelProperty(value = "电流策略")
    private java.lang.String currentStrategy;
	/**电压策略*/
	@Excel(name = "电压策略", width = 15)
    @ApiModelProperty(value = "电压策略")
    private java.lang.String voltageStrategy;
	/**功率策略*/
	@Excel(name = "功率策略", width = 15)
    @ApiModelProperty(value = "功率策略")
    private java.lang.String powerStrategy;
	/**所属区域*/
	@Excel(name = "所属区域", width = 15)
    @ApiModelProperty(value = "所属区域")
    private java.lang.String region;
	/**所属机房*/
	@Excel(name = "所属机房", width = 15)
    @ApiModelProperty(value = "所属机房")
    private java.lang.String machineRoom;

	@ApiModelProperty(value = "所属机房Id")
	private java.lang.String machineRoomId;

	/**所属机柜*/
	@Excel(name = "所属机柜", width = 15)
    @ApiModelProperty(value = "所属机柜")
    private java.lang.String cabinet;

	@ApiModelProperty(value = "所属机柜Id")
	private java.lang.String cabinetId;

	/**所属插接槽*/
	@Excel(name = "所属插接槽", width = 15)
    @ApiModelProperty(value = "所属插接槽")
    private java.lang.String connectingSlot;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;

	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "更新时间")
	private java.util.Date updateTime;

	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private java.lang.String createBy;

	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private java.lang.String updateBy;
}
